package com.ufind.common.enums;

/**
 * 是否有效
 * 有效1、无效0
 * Created by xuliugen on 2017/2/17.
 */
public enum EValidType implements IEnum {

    VALID(1, "VALID"),
    NO_VALID(0, "NO_VALID");

    public Integer code;
    public String value;

    EValidType(Integer value, String desc) {
        this.code = value;
        this.value = desc;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getValue() {
        return this.value;
    }
}
